Set colNamedArguments = WScript.Arguments.Named

If colNamedArguments.Exists("ErrorMsg") Then
 ErrorMsg = colNamedArguments.Item("ErrorMsg")
Else
 ErrorMsg = "Error During DB creation."
End If

Wscript.Echo ErrorMsg
